package isvb.module;

import com.google.inject.Inject;
import com.google.inject.Provider;
import isvb.impl.model.OrderLineIsvB;
import org.dormi.learn.promotion.model.OrderLine;
import org.dormi.learn.promotion.model.Sku;

/**
 * add description here
 *
 * @author : dormi330
 * @version : 1.0
 */
public class OrderLineProvider implements Provider<OrderLine> {

    private Sku sku;

    @Inject
    public OrderLineProvider(Sku sku) {
        this.sku = sku;
    }

    @Override
    public OrderLine get() {
        return new OrderLineIsvB(sku, 3, false);
    }
}
